package com.teaching.teachingsupport.common.pojo.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
public class CreateCourseRequest {
    @NotBlank(message = "课程名称不能为空")
    private String courseName;        // 课程名称
    
    @NotNull(message = "年级不能为空")
    private Integer academicYear;     // 对应年级
    
    @NotNull(message = "任课教师不能为空")
    private Long teacherId;        // 任课教师ID
    
    private List<Long> classIds;   // 选择的教学班ID列表
} 